package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.sys.SysUserDTO;
import com.atguigu.spzx.model.entity.sys.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysUserMapper {
    SysUser selectSysUserByUsername(String userName);

    List<SysUser> selectByCondition(SysUserDTO sysUserDTO);

    void save(SysUser sysUser);

    void deleteByIds(List<Long> ids);

    SysUser selectById(Long id);

    void update(SysUser sysUser);
}
